import { INIT_DATA } from './mutations-types.js';
export default {
    state: {
        list: [],
        tabBar: 0,
    },
    getters: {
        defaultPath(state) {
            return state.list.filter((v) => {
                return v.isDefault == 1;
            });
        },
    },
    mutations: {
        [INIT_DATA](state, arrPath) {
            state.list = arrPath;
        },
    },
};
